package com.woniuxy.main.mycenter_ty.pojo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;



/*
 *  粉丝、关注、好友的失血模型   
 */

@AllArgsConstructor
@NoArgsConstructor
public class Follow {
	
	private String myname;
	
	private String user_name;
		
	private Integer user_age;
	
	private String user_sex;
	
	private String user_phone;
	
	private String user_headimg;
	
	private String qq;
	
	private String adress;         // 好友或粉丝或关注的详细信息
	
	private Integer follow_id;
	
	private Integer user_id;
	
	private Integer followed_id;
	
	
	private Date create_time;
	
	private Integer follow_state;     // 1表示互相关注
	
	private Integer flag;     // 1:表示关注或粉丝存在    0：表示取关或拉黑

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public Integer getUser_age() {
		return user_age;
	}

	public void setUser_age(Integer user_age) {
		this.user_age = user_age;
	}

	public String getUser_sex() {
		return user_sex;
	}

	public void setUser_sex(String user_sex) {
		this.user_sex = user_sex;
	}

	public String getUser_phone() {
		return user_phone;
	}

	public void setUser_phone(String user_phone) {
		this.user_phone = user_phone;
	}

	public String getUser_headimg() {
		return user_headimg;
	}

	public void setUser_headimg(String user_headimg) {
		this.user_headimg = user_headimg;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	public Integer getFollow_id() {
		return follow_id;
	}

	public void setFollow_id(Integer follow_id) {
		this.follow_id = follow_id;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public Integer getFollowed_id() {
		return followed_id;
	}

	public void setFollowed_id(Integer followed_id) {
		this.followed_id = followed_id;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Integer getFollow_state() {
		return follow_state;
	}

	public void setFollow_state(Integer follow_state) {
		this.follow_state = follow_state;
	}

	@Override
	public String toString() {
		return "Follow [user_name=" + user_name + ", user_age=" + user_age + ", user_sex=" + user_sex + ", user_phone="
				+ user_phone + ", user_headimg=" + user_headimg + ", qq=" + qq + ", adress=" + adress + ", follow_id="
				+ follow_id + ", user_id=" + user_id + ", followed_id=" + followed_id + ", create_time=" + create_time
				+ ", follow_state=" + follow_state + "]";
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getMyname() {
		return myname;
	}

	public void setMyname(String myname) {
		this.myname = myname;
	}




	
	
	
	
	
}
